﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace eBenefits.Web.Controllers
{
    public class HomeController : Controller
    {


        public ActionResult Index()
        {
            System.Security.Principal.WindowsIdentity winId = System.Web.HttpContext.Current.Request.LogonUserIdentity;


            ViewBag.Message = string.Empty;
            //if (winId != null)
            //{
            //    ViewBag.Message = string.Format(
            //        "Modify this template to jump-start your ASP.NET MVC application. [{0}], [{1}], [{2}]",
            //        winId.Name,
            //        szRemoteAddr, szXForwardedFor);
            //}
            //else
            //{
            //    ViewBag.Message = string.Format(

            //    "Modify this template to jump-start your ASP.NET MVC application. [{0}], [{1}], [{2}]",
            //    "UNKNOWN",
            //    szRemoteAddr, szXForwardedFor);
            //}
            
            return View();
        }

        public ActionResult About()
        {
            ViewBag.Message = "Your app description page.";

            return View();
        }

        public ActionResult Contact()
        {
            ViewBag.Message = "Your contact page.";

            return View();
        }
    }
}
